import threading


def readFile(path):
    with open(path,"r",encoding="utf-8") as f:
        f.read()
    for i in range(1,200):
        print(f"{i}------readFile th线程----")

def main():
    # 创建线程
    th = threading.Thread(target=readFile,args=("a.txt",))
    # 开启线程
    th.start()



    for i in range(201,400):
        print(f"{i}------ 主线程-----------")

main()
